Skip to content

Conversation

@LengthenedGradient
Copy link
Contributor

Entities:

  • Ammo crate changes:
    • Shells/Racked Munitions now visualized within ammo crate
    • Now uses hexagonal packing for storage (more efficient?)
    • Now uses actual size of racked munitions for storage
  • Added Water jet Entities

QOL/Code Quality:

  • Added new safezone system
  • Add entity limit setting in menu
  • Various AIO improvements involving car steering and HUD
  • Various Autoregister improvements involving state and links
  • Some entity files like ammo and baseplates were broken up into modules for better organization

Mechanics:

  • Changed HEAT damage multiplier from 10x pre spall to 4x pre spall
  • Breech rotation check added that disables guns when their breeches clip through armor
  • Explosions are now able to penetrate

Bug Fixes:

  • Removed debris for primitives
  • Possibly fixed issue involving missing/stale bullets?

Stooberton and others added 30 commits September 24, 2025 19:05
- Ammo crate size is now defined by the arrangement of projectiles rather than external dimensions
- Ammo is now hexagonally packed
- Current ammo is displayed inside crates
ACF HEAT was changed to do [10x](326fe66) when spalling was added to kinetics, because spalling did not work on chemical rounds.

However, chemical rounds (e.g. missiles) can be used to slug (remove health) considerably better than kinetic projectiles. This was not the intention.

This should rectify things.
- Simplified the code dramatically. Instead of reusing the same entity over and over, we'll just spawn and remove one for each unique model.
- Changed the dimension calculation to use GetModelBounds: Available and consistent in both realms. Addressed issues with some missiles AABB only containing the missile body and not the fins
- Optimized volume calculations
- Added support for custom models in ammo crates
- Fixed some scaling issues
They just make helicopter bomb models.
Why did they ever do this thats not how tracers work
- Removed "Refill" ammo type
- Added "Supply" crate under components tab: Refills fuel and ammo
- Added sphere and cylinder shapes to fuel (cylinder replaces drum)
- Created acf_container baseclass to generalize behavior of ACFs container types
- Fixed stale mass updates: Mass update timers set the mass to the current content * unitmass instead of the mass when the timer was fired
This reverts commit 0c5785f.

This change introduces some weird race-condition-esque issue where previous scalable entities have completely wrong meshes (I was seeing entirely different entities getting entirely different models in some cases)
Stooberton and others added 30 commits November 17, 2025 00:32
Avoids overhead from creating new timers every tick (also stop polluting fprofiler)
Cleaned up legal checks
Mirrors serverside behavior: aborts if not valid
Check for "Active" value change was broken. Only became apparently when using Wirelink, as standard wire IO only triggers when the value changes (doing this for us). Wirelinks trigger every time they're called.
This code can't be ripped out entirely. Some things now rely on ACF.PlayersInContraptionIterator. (See: aircraft baseplates.)

We can look into a less annoying way to implement this, more than likely checking if the weapon can do damage to others, which would require a player being in the contraption. This would be a good inbetween of too strict for testing vs. restricting handhelds/autonomous weapons/remote control weapons.
Changed from 0 to 0.25s update interval (woopsie)
Fixed ammo models being modified every time the ammo count changed, even if the crate isnt being looked at.
Cached model various model data
Misunderstood how the barrel filter worked. This unfortunately prevents the change to filter guns from the same axis
Belt fed weapons and smokes are excluded now. These tend to not really be as much of an issue for what the rotation check fixes (people clipping the breech through armor to reload)
I hate this so much
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants